//
//  GYDHomeViewController.swift
//  Weibo
//
//  Created by 贵永冬 on 16/7/14.
//  Copyright © 2016年 贵永冬. All rights reserved.
//

import UIKit

class GYDHomeViewController: UIViewController {

    private lazy var homeViewModel : GYDHomeViewModel = {
        () -> GYDHomeViewModel in
        return GYDHomeViewModel(homeVC : self)
    }()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = BASECOLOR
        
        self.homeViewModel.startService()
        
    }
    override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
        let vs = UIViewController()
        vs.view.backgroundColor = BASECOLOR
       
        self.navigationController?.pushViewController(vs, animated: true)
    }

}
